 $(function() {
		
                $('#sdt_menu > li').bind('mouseenter',function(){
					var $elem = $(this);
					$elem.find('img.nonactive')
						 .stop(true)
						 .animate({
							'width':'68px',
							'height':'68px',
							'left':'-60px'
						 },450,'easeOutBack')
						 .andSelf()
						 .find('.sdt_wrap')
					     .stop(true)
						 .animate({'top':'30px','left':'10px'},400,'easeOutBack')//hauteur du texte au survol
						 .andSelf()
						 .find('.sdt_active')
					     .stop(true)
						 .animate({'height':'0px'},300,function(){
						var $sub_menu = $elem.find('.sdt_box');
                                                var $sub_text = $elem.find('.sdt_wrap');//création d'une variable element
						if($sub_menu.length && $sub_text.length){//ajout de la variable en condition ++
							var left = '-60px';
                                                        var top = '60px';//création d'une nouvelle variable de position
                                                        $sub_text.children().parent().animate(({'top':'100px'})+1);
							if($elem.parent().children().length == $elem.index()+1)
								left = '-60px';
                                                                top = '60px';
                                                                
							$sub_menu.show().animate({'left':left,'top':top},100);
                                               
                                                 }
					   	
					});
				}).bind('mouseleave',function(){
					var $elem = $(this);
					var $sub_menu = $elem.find('.sdt_box');
					if($sub_menu.length)
						$sub_menu.hide().css('left','0px');
					
					$elem.find('.sdt_active')
						 .stop(true)
						 .animate({'height':'0px'},300)
						 .andSelf().find('img.nonactive')
						 .stop(true)
						 .animate({
							'width':'0px',
							'height':'0px',
							'left':'-60px'
                                                        },400)
						 .andSelf()
						 .find('.sdt_wrap')
						 .stop(true)
						 .animate({'top':'30px','left':'0px'},500);
				});
            });